package com.helen.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yang on 2018/5/4.
 */

public class DonationListEntity implements Serializable{

    /**
     * code : 0
     * msg : 获取成功
     * list : [{"id":3,"title":"测试","goodstype":"测试","count":100,"address":"测试地址","contacts":"测试人","phone":"测试联系方式","WX":"测试微信号","content":"测试内容","createtime":"2018-04-22 00:00:00","img":[{"id":4,"url":"http://39.104.50.19/UserImg/SystemImg.png"}],"havecount":0,"peoplenum":0},{"id":2,"title":"爱心助学，温暖过冬","goodstype":"衣服","count":10000,"address":"云南省西双版纳等","contacts":"测试人","phone":"15156068816","WX":"15156068816","content":"快捐吧","createtime":"2018-04-02 00:00:00","img":[{"id":1,"url":"http://39.104.50.19/UserImg/SystemImg.png"},{"id":3,"url":"http://39.104.50.19/UserImg/SystemImg.png"},{"id":4,"url":"http://39.104.50.19/UserImg/SystemImg.png"}],"havecount":0,"peoplenum":0}]
     */



        /**
         * id : 3
         * title : 测试
         * goodstype : 测试
         * count : 100.0
         * address : 测试地址
         * contacts : 测试人
         * phone : 测试联系方式
         * WX : 测试微信号
         * content : 测试内容
         * createtime : 2018-04-22 00:00:00
         * img : [{"id":4,"url":"http://39.104.50.19/UserImg/SystemImg.png"}]
         * havecount : 0.0
         * peoplenum : 0
         */

        private int id;
        private String title;
        private String goodstype;
        private double count;
        private String address;
        private String contacts;
        private String phone;
        private String WX;
        private String content;
        private String createtime;
        private double havecount;
        private int peoplenum;
        private List<ImgBean> img;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getGoodstype() {
            return goodstype;
        }

        public void setGoodstype(String goodstype) {
            this.goodstype = goodstype;
        }

        public double getCount() {
            return count;
        }

        public void setCount(double count) {
            this.count = count;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getContacts() {
            return contacts;
        }

        public void setContacts(String contacts) {
            this.contacts = contacts;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getWX() {
            return WX;
        }

        public void setWX(String WX) {
            this.WX = WX;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public double getHavecount() {
            return havecount;
        }

        public void setHavecount(double havecount) {
            this.havecount = havecount;
        }

        public int getPeoplenum() {
            return peoplenum;
        }

        public void setPeoplenum(int peoplenum) {
            this.peoplenum = peoplenum;
        }

        public List<ImgBean> getImg() {
            return img;
        }

        public void setImg(List<ImgBean> img) {
            this.img = img;
        }

        public static class ImgBean implements Serializable{
            /**
             * id : 4
             * url : http://39.104.50.19/UserImg/SystemImg.png
             */

            private int id;
            private String url;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

}
